package com.hbairit.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CronMapper {

    @Insert("insert into test1(id, name)values(#{id}, #{name})")
    int insert(int id, String name);

    @Select("select cron from scheduled where cron_id = #{id}")
    public String getCron(int id);
}

